package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 患者出入量记录对象 ahhc_intake_output_records
 *
 * @author ruoyi
 * @date 2025-03-15
 */
public class AhhcIntakeOutputRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** LS+日期+5位编号 */
    private String recordId;

    /** 关联患者表ID */
    @Excel(name = "关联患者表ID")
    private String patientId;

    /** 关联物品表编码 */
    @Excel(name = "关联物品表编码")
    private String itemCode;

    /** 从物品表自动填充 */
    @Excel(name = "从物品表自动填充")
    private String unit;

    /** 输入基础量 */
    @Excel(name = "输入基础量")
    private BigDecimal baseAmount;

    /** 输入剩余量 */
    @Excel(name = "输入剩余量")
    private BigDecimal remainAmount;

    /** 计算公式结果 */
    @Excel(name = "计算公式结果")
    private BigDecimal waterTotal;

    /** 日期（可下拉选择） */
    @Excel(name = "日期", readConverterExp = "可=下拉选择")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")

    private Date recordDate;

    /** 时间（可下拉选择） */
    @Excel(name = "时间", readConverterExp = "可=下拉选择")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")

    private Date recordTime;

    /** 系统生成写入时间 */
    private Date createdTime;

    public void setRecordId(String recordId)
    {
        this.recordId = recordId;
    }

    public String getRecordId()
    {
        return recordId;
    }

    public void setPatientId(String patientId)
    {
        this.patientId = patientId;
    }

    public String getPatientId()
    {
        return patientId;
    }

    public void setItemCode(String itemCode)
    {
        this.itemCode = itemCode;
    }

    public String getItemCode()
    {
        return itemCode;
    }

    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public String getUnit()
    {
        return unit;
    }

    public void setBaseAmount(BigDecimal baseAmount)
    {
        this.baseAmount = baseAmount;
    }

    public BigDecimal getBaseAmount()
    {
        return baseAmount;
    }

    public void setRemainAmount(BigDecimal remainAmount)
    {
        this.remainAmount = remainAmount;
    }

    public BigDecimal getRemainAmount()
    {
        return remainAmount;
    }

    public void setWaterTotal(BigDecimal waterTotal)
    {
        this.waterTotal = waterTotal;
    }

    public BigDecimal getWaterTotal()
    {
        return waterTotal;
    }

    public void setRecordDate(Date recordDate)
    {
        this.recordDate = recordDate;
    }

    public Date getRecordDate()
    {
        return recordDate;
    }

    public void setRecordTime(Date recordTime)
    {
        this.recordTime = recordTime;
    }

    public Date getRecordTime()
    {
        return recordTime;
    }

    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("patientId", getPatientId())
            .append("itemCode", getItemCode())
            .append("unit", getUnit())
            .append("baseAmount", getBaseAmount())
            .append("remainAmount", getRemainAmount())
            .append("waterTotal", getWaterTotal())
            .append("recordDate", getRecordDate())
            .append("recordTime", getRecordTime())
            .append("createdTime", getCreatedTime())
            .toString();
    }
}
